<?php
namespace app\modules\models\api;

use Yii;
use \app\helpers\XapiClient;
use app\helpers\Logger as helperLogger;

/**
 * 功能：版本控制中心调用接口类
 * 时间：2018年01月03日
 * author:yaojinjin1@wanda.cn
 */
class TestApi extends BaseApi {

    /* @desc 一级入口查询
     * @author yaojinjin1@wanda.cn
     * @createDate 2018/01/03
     */
    public static function testabc($data){
        $gateway = 'common';
        $urlKey = 'releaseLogCurrent';
        $url = XapiClient::assembleUrl($urlKey,$gateway);
        $url .= "?".http_build_query($data);
        $info = XapiClient::ApiGet($url);
        $res = self::infoData($info, $url);
        return $res;
    }







}
